from tortoise.models import Model
from tortoise import fields


class Base(Model):
    id = fields.IntField(pk=True)
    created_at = fields.DatetimeField(description="创建时间", auto_now_add=True)
    updated_at = fields.DatetimeField(description="更新时间", auto_now=True)
